package net.sourceforge.springframework;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * @author maoanapex88@163.com
 */
public class SpringContext implements ApplicationContextAware {

	private static ApplicationContext context;

	public void setApplicationContext(ApplicationContext c) throws BeansException {
		context = c;
	}

	public static ApplicationContext getContext() {
		return context;
	}
}
